package br.senac.arqpad.pizzaria.dao.factory;

import br.senac.arqpad.pizzaria.dao.IngredienteDAOJDBC;
import br.senac.arqpad.pizzaria.model.Repository;

@SuppressWarnings({ "unchecked", "rawtypes" })
public class DAOJDBCFactory implements RepositoryFactory {
	
	public DAOJDBCFactory() {};
	
	@Override
	public <T> Repository<T> obterRepositorio(Class classeDoRepositorio) {
		return (Repository<T>) new IngredienteDAOJDBC();
	}

}
